package com.five.service;

import com.five.entity.Travel;

import java.util.List;

/**
 * Created by Administrator on 2018/2/27.
 */

public interface TravelService {

    void addTravel(Travel travel);

    Travel selectByPrimaryKey(Integer id);

    void updateCommentsId(Travel travel);

    List<Travel> selectByUserId(Integer userId);

    List<Travel> selectAll();
}
